package com.elvin.wx.service.impl;

import com.elvin.wx.beans.WireDevWarm;
import com.elvin.wx.mapper.WireDevPoliceMapper;
import com.elvin.wx.service.WireDevPoliceService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 无线设备报警数据 服务实现类
 * </p>
 *
 * @author zhenchl
 * @since 2022-01-14
 */
@Service
public class WireDevPoliceServiceImpl extends ServiceImpl<WireDevPoliceMapper, WireDevWarm> implements WireDevPoliceService {
    @Resource
    private  WireDevPoliceMapper mapper;
    @Override
    public WireDevWarm getByProAndDevId(WireDevWarm entity) {
        return mapper.getByProAndDevId(entity);
    }
}
